package com.panfeng.xcloud.boss.provider.assets.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class RebateRecordExtendItemDTO implements Serializable {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("本系统内流水号")
    private String flowOrderId;

    @ApiModelProperty("交易所内订单id")
    private String exchangeOrderId;

    @ApiModelProperty("交易对目标币种")
    private String destinationCoin;

    @ApiModelProperty("交易对源币种")
    private String sourceCoin;

    @ApiModelProperty("多空方向(buy:多单 sell:空单)")
    private String direction;

    @ApiModelProperty("杠杆倍数")
    private Integer leverRate;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("下级用户id")
    private String subUserId;

    @ApiModelProperty("下级用户名")
    private String subNickname;

    @ApiModelProperty("下级用户头像")
    private String subAvatar;

    @ApiModelProperty("交易所类型(0.okex 1.huobi 2.binance)")
    private Integer exchangeType;

    @ApiModelProperty("下单数量(币计)")
    private BigDecimal amount;

    @ApiModelProperty("下单限价")
    private String price;

    @ApiModelProperty("成交数量(币计)")
    private BigDecimal completeAmount;

    @ApiModelProperty("成交金额")
    private BigDecimal completeMoney;

    @ApiModelProperty("成交均价")
    private BigDecimal completeAvePrice;

    @ApiModelProperty("手续费")
    private BigDecimal fee;

    @ApiModelProperty("0.开仓 1.平仓")
    private Integer transType;

    @ApiModelProperty("补仓次数")
    private Integer coverNum;

    @ApiModelProperty("加仓次数")
    private Integer antiCoverNum;

    @ApiModelProperty("盈利")
    private BigDecimal profit;

    @ApiModelProperty("备注")
    private String note;

    @ApiModelProperty("本次交易抵扣的点卡数")
    private BigDecimal deletePoint;

    @ApiModelProperty("本次交易抵扣后剩余点卡数")
    private BigDecimal restPoint;

    @ApiModelProperty("本笔盈利点卡分成比例")
    private BigDecimal rebateRatio;

    @ApiModelProperty("本笔盈利点卡分成金额")
    private BigDecimal rebateAmount;

    @ApiModelProperty("该笔分成是否已结算(0.已结算 1.未结算)")
    private Integer getRebate;

    @ApiModelProperty("该数据是否有效(0.正常 1.已删除)")
    private Integer dataStatus;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}